Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade mongoose from 6.5.0 to 6.6.4 #192

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

snyk-bot
Copy link
Contributor

Snyk has created this PR to upgrade mongoose from 6.5.0 to 6.6.4.

merge advice
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 10 versions ahead of your current version.
  • The recommended version was released 21 days ago, on 2022-10-03.
Release notes
Package name: mongoose
  • 6.6.4 - 2022-10-03

    6.6.4 / 2022-10-03

    • fix(model): avoid saving applied defaults if path is deselected #12506 #12414
    • fix(types): correct DocType for auto typed query helpers #12342
    • fix(types): avoid "excessively deep" type instantiation error when using bulkWrite() with type that extends from document #12277
    • fix(types): avoid relying on typeof this, which isn't supported in TypeScript < 4.4 #12375
    • docs(schema): correct example for Schema.prototype.discriminator() #12493
    • docs(typescript): clean up query helpers examples #12342
    • chore: use mongodb-memory-server for testing #12262 hasezoey
  • 6.6.3 - 2022-09-30

    6.6.3 / 2022-09-30

    • fix(query): treat findOne(_id) as equivalent to findOne({ _id }) #12485 #12325
    • fix(timestamps): findOneAndUpdate creates subdocs with timestamps in reverse order #12484 #12475 lpizzinidev
    • fix(types): make schema.plugin() more flexible for schemas that don't define any generics #12486 #12454
    • fix(types): add "array of array key-value pairs" as a argument option for "query.sort()" #12483 #12434 hasezoey
    • fix(types): remove unused defaults in "PluginFunction" #12459 hasezoey
    • fix(types): update DiscriminatorSchema to have better names and combine statics #12460 hasezoey
  • 6.6.2 - 2022-09-26

    6.6.2 / 2022-09-26

    • fix(model): avoid deleting shared schema methods in fix for #12254 #12423
    • fix(document): set $inc default value in case field has not been specified on the document #12435 lpizzinidev
    • fix(query): handle select: false on map paths in query results #12467 lpizzinidev
    • fix(types): add HydratedDocumentFromSchema to make it easier to pull inferred hydrated doc type #12464 #12319
    • fix(types): add sanitizeFilter to types #12465 zrosenbauer
    • fix(types): infer number enum types from schema if using enum: [0, 1] as const #12463 #12242
    • docs(validation): add section on global schematype validation, clean up other issues #12430
    • docs: add clarification about overwrite flag in model.js #12447 Tzvika-m
    • docs: change to consistent "Example:" for jsdoc comments #12432 hasezoey
  • 6.6.1 - 2022-09-14

    6.6.1 / 2022-09-14

    • fix: correctly apply defaults after subdoc init #12328
    • fix(array): avoid using default _id when using pull() #12294
    • fix: allow null values inside $expr objects #12429 MartinDrost
    • fix(query): use correct Query constructor when cloning query #12418
    • docs(website): remove setting "latest38x" which is not used anywhere #12396 hasezoey
  • 6.6.0 - 2022-09-08

    6.6.0 / 2022-09-08

    • feat: upgrade mongodb driver -> 4.9.1 #12370 AbdelrahmanHafez
    • feat: re-export default Mongoose instance properties for ESM named imports support #12256
    • feat(model): add option to skip invalid fields with castObject() #12156 IslandRhythms
    • feat: use setPrototypeOf() instead of proto to allow running on Deno #12315
    • feat(QueryCursor): add support for AbortSignal on eachAsync() #12323
    • feat(types): add types for new $densify operator #12118 IslandRhythms
  • 6.5.5 - 2022-09-07

    6.5.5 / 2022-09-07

    • fix(setDefaultsOnInsert): avoid applying defaults on insert if nested property set #12279
    • fix(model): make applyHooks() and applyMethods() handle case where custom method is set to Mongoose implementation #12254
    • fix(types): add string "ascending" and "descending" index-directions #10269
    • docs: upgrade dox to 1.0.0 #12403 hasezoey
    • docs: update old mongodb nodejs driver documentation urls #12387 hasezoey
    • docs: update JSDOC ... (spread) definition #12388 hasezoey
    • refactor(model): allow optionally passing indexes to createIndexes and cleanIndexes #12280 AbdelrahmanHafez
  • 6.5.4 - 2022-08-30
    Read more
  • 6.5.3 - 2022-08-25
  • 6.5.2 - 2022-08-10
  • 6.5.1 - 2022-08-03
  • 6.5.0 - 2022-07-26
from mongoose GitHub release notes
Commit messages
Package name: mongoose
  • df01ba6 chore: release 6.6.4
  • 6e736ee Merge pull request #12506 from Automattic/vkarpov15/gh-12414
  • d061da3 test: add test coverage for #12414
  • d6a6620 Merge branch 'master' into vkarpov15/gh-12414
  • 3d2db03 Merge pull request #12479 from Automattic/vkarpov15/gh-12277
  • 327567b test: remove some unused imports
  • 9d2a6e4 Merge branch 'master' into vkarpov15/gh-12277
  • 8612620 Merge pull request #12488 from Automattic/vkarpov15/gh-12375
  • 6d1af00 Merge pull request #12493 from Automattic/vkarpov15/gh-12455
  • b8567c3 Merge pull request #12262 from hasezoey/changeTestToMMS
  • 3a9e5ac Update lib/schema.js
  • 1ceb20d Update lib/schema.js
  • 4b79461 Merge pull request #12507 from Automattic/vkarpov15/gh-12342
  • 1f95170 docs(typescript): clean up query helpers examples
  • 5ccad6e fix(types): correct DocType for auto typed query helpers
  • 84e262e fix(model): avoid saving applied defaults if path is deselected
  • ff7eed5 Merge pull request #12504 from Automattic/dependabot/github_actions/master/actions/stale-6
  • eb3a285 Merge pull request #12497 from Automattic/dependabot/npm_and_yarn/master/typescript-4.8.4
  • aceec90 chore(deps-dev): bump typescript from 4.8.3 to 4.8.4
  • 62f95ef Merge pull request #12496 from Automattic/dependabot/npm_and_yarn/master/marked-4.1.1
  • fd56a98 Merge pull request #12495 from Automattic/dependabot/npm_and_yarn/master/typescript-eslint/parser-5.38.1
  • 53ef388 Merge pull request #12501 from Automattic/dependabot/npm_and_yarn/master/babel/core-7.19.3
  • c3ef03f chore(deps-dev): bump @ babel/core from 7.19.0 to 7.19.3
  • de9c5ee chore(deps-dev): bump @ typescript-eslint/parser from 5.36.2 to 5.38.1

Compare


Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant